.details {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;

    header {
        width: 100%;
        height: 45px;
    }

    main {
        background: #efefef;
        width: 100%;
        height: 575px;
        padding: 10px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .swiper {
            width: 100%;
            height: 60%;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: left top;
                transition: 1s;
            }

            :hover {
                object-position: right bottom;
            }
        }

        .top10 {
            margin-top: 10px;
            background: #fff;
            padding: 6px;
            box-sizing: border-box;
            border-radius: 10px;

            h3 {
                display: flex;
                justify-content: space-around;
                height: 40px;
                background: red;
                color: #fff;
                line-height: 40px;
                box-sizing: border-box;
                margin-bottom: 10px;
                border-radius: 10px;

                span {
                    font-size: 36px;
                }
            }

            h4 {
                font-size: 20px;
                margin: 10px 0;
                color: crimson;
            }

            .adm-ellipsis {
                font-size: 16px;
                color: dimgray;
                margin-bottom: 10px;
            }

        }

    }

    footer {
        height: 50px;
        width: 100%;
        display: flex;
        align-items: center;
        background: #fff;
        justify-content: space-between;

        .tabs {
            display: flex;
            width: 40%;
            justify-content: space-between;
            align-items: center;

            .tab {
                display: flex;
                flex-direction: column;
                align-items: center;

                span {
                    font-size: 14px;
                }
            }
        }

        .buycart {
            width: 40%;
            line-height: 40px;
            text-align: center;
            background: red;
            font-size: 18px;
            color: azure;
            border-radius: 20px;
        }
    }
}